.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.color-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.color-radio-input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.color-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.color-preview {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid #ddd;
}

.color-code {
    font-family: monospace;
    font-size: 14px;
    color: #333;
}

/* 选中状态样式 */
.color-radio-input:checked ~ .color-label .color-preview {
    border: 2px solid #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}